package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @ClassName PaymentMain8081
 * @Description 主启动类
 * @Author 周轩霆
 * @Date 2022/9/26 21:53
 **/
@SpringBootApplication
//开启注册
@EnableEurekaClient
//开启服务发现
@EnableDiscoveryClient
public class PaymentMain8001 {
    public static void main(String[] args) {
         SpringApplication.run(PaymentMain8001.class,args);
    }
    
}
